  /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mscs.client.member.logic;

import java.util.List;
import mscs.data.pojo.GiftRecord;
import mscs.data.pojo.Goods;
import mscs.data.pojo.Member;
import mscs.data.pojo.SaleRecord;

/**
 *
 * @author Administrator
 */
public interface IGiftServiceUtil {
    public boolean isExist(IGiftUtil giftUtil, List<Integer> reasonList);//判断是否有必要进行礼品赠送
    public List<Member> getGiftMemberList(IGiftUtil giftUtil, List<Integer> reasonList);
                                                                 //返回需要赠送礼品的会员列表，对应的原因存储在reasonList中
    public List<SaleRecord> getMemberSaleList(Member member);//获取member的购买记录
    public List<Goods> getAllGifts(); //获取全部赠品列表
    public boolean commitGiftService(GiftRecord giftRecord);//将某一次赠品记录写入文件
}
